#!/bin/bash

gsutil cp gs://eclipsedevx_latest/*.xml temp
gsutil cp gs://eclipsedevx_latest/features/*.jar temp/features
gsutil cp gs://eclipsedevx_latest/plugins/*.jar temp/plugins

gsutil rm -f gs://eclipsedevx_release/*

cd temp

gsutil cp -a public-read -t -R * gs://eclipsedevx_release

cd ..

rm -rf temp
